﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntoMes.Models
{
    public class StationStopTime
    {
        public string ProductMode { get; set; }
        [Key]
        public int Count { get; set; }

        public DateTime DateTime { get; set; }

        public double StopTime { get; set; }

        public string StationName { get; set; }

    }
    public class StationStopTimeContext : DbContext
    {
        public StationStopTimeContext() : base("ProductionConnection") { }
        public virtual DbSet<StationStopTime> StopTime { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
        }
    }
}
